<!--
/**
 * 认证客户端 列表页 JS 脚本
 * @author 李方捷 , leefangjie@qq.com
 * @since 2021-06-08 10:22:53
 */
 -->
 <!DOCTYPE html>
<html>

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta charset="utf-8"/>
	<title th:text="${lang.translate('认证客户端')}">认证客户端</title>
    <link th:if(theme.ico!="null") rel="shortcut icon" th:href="${theme.ico}" type="image/vnd.microsoft.icon">
    <link th:if(theme.ico!="null") rel="icon" th:href="theme.ico" type="image/vnd.microsoft.icon">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/assets/libs/layui/css/layui.css"/>
    <link rel="stylesheet" href="/assets/css/admin.css"/>
    <link rel="stylesheet" href="/module/formSelects/formSelects-v4.css"/>
	<link th:each="css:${theme.css}" rel="stylesheet" th:href="${css}+'?'+${cacheKey}">
</head>

<body>

<form id="data-form" lay-filter="data-form" class="layui-form model-form">
    <input name="id" id="id"  type="hidden"/>

    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('名称')}">名称</label>
        <div class="layui-input-block">
            <input id="name" name="name" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('名称') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('资源集合')}">资源集合</label>
        <div class="layui-input-block">
            <input id="resourceIds" name="resourceIds" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('资源集合') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('访问密匙')}">访问密匙</label>
        <div class="layui-input-block">
            <input id="clientSecret" name="clientSecret" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('访问密匙') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('权限范围')}">权限范围</label>
        <div class="layui-input-block">
            <input id="scope" name="scope" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('权限范围') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('授权类型')}">授权类型</label>
        <div class="layui-input-block">
            <input id="authorizedGrantTypes" name="authorizedGrantTypes" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('授权类型') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('重定向URI')}">重定向URI</label>
        <div class="layui-input-block">
            <input id="webServerRedirectUri" name="webServerRedirectUri" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('重定向URI') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('权限值列表')}">权限值列表</label>
        <div class="layui-input-block">
            <input id="authorities" name="authorities" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('权限值列表') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('access')}">access</label>
        <div class="layui-input-block">
            <input id="accessTokenValidity" name="accessTokenValidity" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('access') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('refresh')}">refresh</label>
        <div class="layui-input-block">
            <input id="refreshTokenValidity" name="refreshTokenValidity" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('refresh') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('备注信息')}">备注信息</label>
        <div class="layui-input-block">
            <input id="notes" name="notes" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('备注信息') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('是否有效')}">是否有效</label>
        <div class="layui-input-block">
            <input id="valid" name="valid" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('是否有效') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('是否自动Approval操作')}">是否自动Approval操作</label>
        <div class="layui-input-block">
            <input id="autoApprove" name="autoApprove" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('是否自动Approval操作') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label" th:text="${lang.translate('是否信任')}">是否信任</label>
        <div class="layui-input-block">
            <input id="trusted" name="trusted" th:placeholder="${ lang.translate('请输入') +' '+ lang.translate('是否信任') }" type="text" class="layui-input"    />
        </div>
    </div>



    <div class="layui-form-item model-form-footer">
        <button class="layui-btn layui-btn-primary" ew-event="closeDialog" type="button" th:text="${lang.translate('取消')}">取消</button>
        <button class="layui-btn"  id="submit-button" lay-filter="submit-button" lay-submit th:text="${lang.translate('保存')}">保存</button>
    </div>
</form>

<script type="text/javascript" src="/module/global.js"></script>
<script type="text/javascript" src="/assets/libs/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="/assets/libs/pandyle.min.js"></script>
<script type="text/javascript" src="/assets/libs/layui/layui.js"></script>

<script src="/business/oauth/oauth_client/oauth_client_form.js"></script>

</body>
</html>
